	<script type="text/javascript">
		$(function() {
			$('#carousel_adictos a').lightBox({
				imageLoading: '/images/loading.gif',
				imageBtnClose: '/images/close.gif',
				imageBtnPrev: '/images/prev.gif',
				imageBtnNext: '/images/next.gif'
			});
		});
		
		$(function() {
			$( "button, input:submit, a", ".demo" ).button();
			$( "button, input:button, a", ".demo" ).button();
			$( "a", ".demo" ).click(function() { return true; });
		});
    </script>
	
	<style type="text/css">
		/* jQuery lightBox plugin - Gallery style */
		#gallery {
			background-color: #444;
			padding: 10px;
			width: 520px;
		}
		#gallery ul { list-style: none; }
		#gallery ul li { display: inline; }
		#gallery ul img {
			border: 5px solid #3e3e3e;
			border-width: 5px 5px 20px;
		}
		#gallery ul a:hover img {
			border: 5px solid #fff;
			border-width: 5px 5px 20px;
			color: #fff;
		}
		#gallery ul a:hover { color: #fff; }
	</style>

	<style type="text/css">
		#datos
		{
			-moz-border-radius: 10px 10px 10px 10px;
			background: none repeat scroll 0 0 #FFFFFF;
			border: 1px solid #99CC00;
		}
	</style>
	
<h1> Pais: <%= @trip.tri_country %> Ciudad: <%= @trip.tri_city %> Lugar: <%= @iti_location %> </h1>
<% form_tag :controller => "itineraries", :action => "new" , :method => "post" do%>

<div id="datos" style="text-align: center;">
	<div id="carousel_adictos" style="margin-top: 5%;">	
	 <ul>
	<% for pic in @pics %>  
	<td>
					<a href="<%=  pic[0] %>">
						<img id="<%= pic[0] %>" src=" <%= pic[0] %>" width="75" height="75" alt="" />
					</a>
					<input type="radio" name="flickrImage" id="<%= pic[0] %>" value="<%= pic[0] %>"/>	
	</td>  
	<% end %>
	</ul>
	<br><br>
	</div>
	<input type="hidden" value="<%= @trip.id %>" name="trip_id">
	<input type="hidden" value="<%= @iti_location %>" name="iti_location">
	<input type="hidden" value="<%= @latitude %>" name="latitude">
	<input type="hidden" value="<%= @longitude %>" name="longitude">
	<div class="demo">
		<%= link_to "Volver al Viaje", :controller => "trips", :action => "show", :id => @trip.id %> <%= submit_tag "Continuar" %>
	</div>
</div>
<% end -%>

